package com.scalar.forecast.columnDisplay;

import java.io.Serializable;

/**
 * Values Object for Column Meta Data
 *
 * Created by Veeru. 
 * Date: Feb 16, 2005
 * Time: 10:19:26 AM 
 */

public class ColumnMetaData implements Serializable {

    private String columnName  = null;
    private String displayName = null;
    private boolean display = true;
    private int order = 0;

    private String userId = null;
    private int rowId = -1;
    private String tableName = null;

    public ColumnMetaData() {
    }

    public ColumnMetaData(String columnName, String displayName, int order) {
        this.columnName = columnName;
        this.displayName = displayName;
        this.order = order;
    }

    public String getColumnName() {
        return columnName;
    }

    public void setColumnName(String columnName) {
        this.columnName = columnName;
    }

    public String getDisplayName() {
        return displayName;
    }

    public void setDisplayName(String displayName) {
        this.displayName = displayName;
    }

    public boolean isDisplay() {
        return display;
    }

    public void setDisplay(boolean display) {
        this.display = display;
    }

    public int getOrder() {
        return order;
    }

    public void setOrder(int order) {
        this.order = order;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId ;
    }

    public int getRowId() {
        return rowId;
    }

    public void setRowId(int rowId) {
        this.rowId = rowId;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = ( tableName == null ? null : tableName.trim() );
    }
}
